package TimeSqueeze;

import java.io.IOException;
import java.text.ParseException;
import java.util.Scanner;

import TimeSqueeze.logic.*;
import TimeSqueeze.storage.*;

public class UserInterface {
	
	public void run() throws ParseException, IOException {
		
		Scanner userInput = new Scanner(System.in);
		
		TempStorage.readFileToProgMem();
		
		System.out.println("Welcome to TimeSqueeze!");
		do {
			System.out.print("Enter command: ");
			String userInputLine = userInput.nextLine();
			Parser parseUserInput= new Parser(userInputLine);
			parseUserInput.sortInputCommand();
		}
		while (true);
	}

}
